package com.thingsgrid.firmware.entity;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;

@Data
@Document(collection = "firmware")
public class Firmware implements Serializable {
	private static final long serialVersionUID = 1L;
	@Field("firmware_id")
	private String firmwareId;
	@Field("firmware_name")
	private String firmwareName;
	@Field("firmware_version")
	private String firmwareVersion;
	@Field("product_id")
	private String productId;
	@Field("stats")
	private Integer stats;
	@Field("firmware_sign")
	private  String firmwareSign;
	@Field("upgrade_type")
	private Integer upgradeType;
	@Field("describe")
	private String describe;
	@Field("firmware_file")
	private String firmwareFile;
	@Field("create_time")
	private String createTime;
}
